SUMMARY = "phytium uboot"
DESCRIPTION = "phytium uboot"
LICENSE = "PPL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=44a0d0fad189770cc022af4ac6262cbe"

inherit deploy

SRC_URI = "file://fip-all-4GB.bin \
	   file://fip-all-2GB.bin \
"
S = "${WORKDIR}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"

RAMSIZE="4GB"

do_install () {
    install -d ${D}
    cp -r ${S}/fip-all-${RAMSIZE}.bin  ${D}/fip-all.bin
}

do_deploy () {
    install -d ${DEPLOYDIR}/
    cp -r ${D}/* ${DEPLOYDIR}/
}
addtask deploy after do_install

PACKAGES += "${PN}-image"
FILES:${PN}-image += "/"
PACKAGE_ARCH = "${MACHINE_ARCH}"
